using System;
using Slobby.Common;

namespace Slobby.SharedNetworkTypes {
    [Serializable]
    public struct PingMessage { }

    [Serializable]
    public struct PongMessage { }

    [Serializable]
    public struct DisconnectedMessage {
        public DisconnectedMessage(string reason) {
            Reason = reason;
        }
        public string Reason;
        public override string ToString() {
            return "DisconnectedMessage: " + Reason;
        }
    }
}